package org.hxyjs.service;

import org.hxyjs.dto.DTO;
import org.hxyjs.entity.GameDetailsRecord;
import org.hxyjs.page.PageInfo;
import org.hxyjs.vo.GameDetailsRecordView;

public interface GameDetailsRecordService {
    /**
     * 查询全部学生
     * @return
     */
    public DTO<GameDetailsRecord> getAllGameDetailsRecords() throws Exception;

    /**
     * 删除学生
     * @param gdrno
     * @return
     * @throws Exception
     */
    public DTO<GameDetailsRecord> deleteGameDetailsRecordByGdrno(String gdrno) throws Exception;
    /**
     *  修改学生
     * @param gameDetailsRecordView
     * @return
     */
    public DTO<GameDetailsRecord> updateGameDetailsRecordByGdrno(GameDetailsRecordView gameDetailsRecordView)  throws Exception;
    /**
     *  增加学生
     * @param gameDetailsRecord
     * @return
     */
    public DTO<GameDetailsRecord> addGameDetailsRecord(GameDetailsRecord gameDetailsRecord)  throws Exception;

    /**
     * 根据主键查询学生
     * @param gdrno
     * @return
     * @throws Exception
     */
    public DTO<GameDetailsRecord> getGameDetailsRecordByGdrno(String gdrno) throws Exception;

    /**
     *分页查询
     * @param pageInfo
     * @return
     * @throws Exception
     */
     public DTO<GameDetailsRecord> getGameDetailsRecordByPage(PageInfo pageInfo, String cacheId) throws Exception;

     public DTO<GameDetailsRecord> getGameDetailsRecordByPage(PageInfo pageInfo) throws Exception;



}
